<style>

</style>
<script>
    layui.use(['element','layer','form'],function () {
        var element = layui.element;
        var layer = layui.layer;
        var form = layui.form;

        $("#getmap").click(function () {
            if(!$("#city").val()){
                layer.msg('请选择区域')
                return
            }
            var city = $("#city").val();
            if (!city.length) {
                layer.msg('请选择区域',{icon: 7});
            }else{
                // var uri = $("#uri").val();
                var url = '/admin/property/position/'+city
                layer.open({
                    type: 2,
                    title:'地图标记',
                    content: [url, 'no'],
                    area : ['100%','100%'],
                    shade : 0.2,
                    resize:true,
                    iframeAuto:true
                });
            }
        })

    })

</script>
